package Server.dao;
import Server.entity.City;
import Server.entity.UsersCity;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UsersCityDao extends JpaRepository<UsersCity,String> {
    Integer deleteByUuid(String uuid);
    UsersCity findByUuid(String uuid);
    UsersCity findByCity(City city);
    UsersCity findByCity_Uuid(String uuid);
    UsersCity findByUsers_UuidAndUsers_Address(String userId,String address);
}
